const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, // eslint是否保存修正

  devServer: {
    proxy: {
      '/missevan': {
        target: 'https://www.missevan.com',
        // 把/missevan替换为空，不然会拼接
        pathRewrite: { '^/missevan': '' },
        changeOrigin: true,
      }
    }
  }
})
